- Fix: compilation

- Fix: zombie name generation

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6021 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-04-19 21:20:53 +00:00
parent 9cd897cf3c
commit 79874daf97
3 changed files with 34 additions and 1 deletions
+2
View File
@@ -2324,9 +2324,11 @@ BOOLEAN AddCorpseFromObject(OBJECTTYPE* pObj, INT32 sGridNo, INT8 bLevel )
Corpse.fHeadTaken = FALSE;
Corpse.ubAIWarningValue = 20;
#ifdef ENABLE_ZOMBIES
// Flugente: use zombie name (it's the only way this will ever be relevant again anyway)
swprintf( Corpse.name, TacticalStr[ ZOMBIE_TEAM_MERC_NAME ] );
Corpse.name[9] = '\0';
#endif
INT32 iCorpseID = AddRottingCorpse( &Corpse );