URL:
  <http://gna.org/bugs/?9280>

                 Summary: asserts blocking campaign
                 Project: Warzone Resurrection Project
            Submitted by: tomboy64
            Submitted on: Mittwoch 06.06.2007 um 02:32
                Category: Campaign
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn
        Operating System: All

    _______________________________________________________

Details:

Hi there.

Since WZ is running relatively stable again i resumed my campaign; actually
restarted it.
In the sub missions, however, some asserts are triggered:

display3d.c:661
===============
ASSERT( visibleYTiles <= mapHeight && visibleXTiles <= mapWidth, "Tile
coordinates out of range" );

This assert gets triggered once the transport leaves for the submap.

droid.c:3311
============
ASSERT(worldOnMap(x,y), "the build locations are not on the map");

This assert gets triggered if units/buildings (on the main map) get finished
while I'm playing on the sub-map.

game.c:6150
ASSERT(worldOnMap(psSaveDroid->x,psSaveDroid->y), "the saved droid if off the
map");

This assert gets triggered (supposedly) if I save the game while units are
still in the transport.


Attached patch completely deactivates those asserts (and corrects a typo ;)
); if there is a variable containing the map name it should be sufficient to
do an AND with the map-name beginning with "SUB".



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mittwoch 06.06.2007 um 02:32  Name: campaign-asserts.patch  Size: 2kB  
By: tomboy64

<http://gna.org/bugs/download.php?file_id=2400>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9280>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to