mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Bugfix for IMP attributes.
Fixed loop/crash that occurred when handing MADLAB a weapon with a permanent attachment. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2369 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -988,7 +988,7 @@ void RenderAttributeBoxes( void )
|
||||
INT32 iCnt=STRENGTH_ATTRIBUTE;
|
||||
INT16 sX = 0;
|
||||
INT16 sY = 0;
|
||||
CHAR16 sString[3];
|
||||
CHAR16 sString[4];
|
||||
|
||||
// set last char to null
|
||||
sString[2] = 0;
|
||||
|
||||
Reference in New Issue
Block a user