mirror of
https://github.com/halpz/re3.git
synced 2025-12-15 00:12:56 +00:00
First batch of fixes (CallAndMessage)
This commit is contained in:
@@ -814,6 +814,9 @@ void
|
||||
CPickups::RenderPickUpText()
|
||||
{
|
||||
wchar *strToPrint;
|
||||
#ifdef FIX_BUGS
|
||||
strToPrint = nil;
|
||||
#endif
|
||||
for (int32 i = 0; i < NumMessages; i++) {
|
||||
if (aMessages[i].m_quantity <= 39) {
|
||||
switch (aMessages[i].m_quantity) // could use some enum maybe
|
||||
@@ -1285,7 +1288,11 @@ CPacManPickups::GeneratePMPickUpsForRace(int32 race)
|
||||
int i = 0;
|
||||
|
||||
if (race == 0) pPos = aRacePoints1; // there's only one available
|
||||
assert(pPos != nil);
|
||||
|
||||
if(!pPos) {
|
||||
debug("This shouldn't happen");
|
||||
return;
|
||||
}
|
||||
|
||||
while (!pPos->IsZero()) {
|
||||
while (aPMPickUps[i].m_eType != PACMAN_NONE)
|
||||
|
||||
Reference in New Issue
Block a user