mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-09-03 21:39:07 +00:00
Fix text objects limit
This commit is contained in:
parent
8565a55540
commit
5e82f600af
@ -140,7 +140,8 @@ int textObjectAdd(Object* object, char* string, int font, int color, int a5, Rec
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (gTextObjectsCount >= TEXT_OBJECTS_MAX_COUNT - 1) {
|
||||
// SFALL: Fix incorrect value of the limit number of floating messages.
|
||||
if (gTextObjectsCount >= TEXT_OBJECTS_MAX_COUNT) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user