mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
- Optimized a few code bits
- Enemy ranks has now size 20 instead of 500 - Fix: losing your disguise makes you lose your disguise again git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5687 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1072,7 +1072,7 @@ void StartInterrupt( void )
|
||||
|
||||
if (pTempSoldier != NULL)
|
||||
{
|
||||
// Flugente 12-11-13: I observed an isntance where the pTempSoldier was a player merc, leading to a deadlock here. The reason was that during an iinterrupot by a civilian, he somehow did not win
|
||||
// Flugente 12-11-13: I observed an instance where the pTempSoldier was a player merc, leading to a deadlock here. The reason was that during an iinterrupot by a civilian, he somehow did not win
|
||||
// instead the game used the last merc entry... which overflowed, and thus started at merc 0, which is always a player merc
|
||||
// I am not sure if this is the best solution... however it seems to work for me.
|
||||
// If anybody knows a better solution, feel free to do so
|
||||
|
||||
Reference in New Issue
Block a user