abort after worker builds refinery in stratagus 2.2.6

Bug #914076 reported by Neil Tan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
Unassigned

Bug Description

In stargus, when a terran SCV builds a refinery on top of a vespene geyser, an abort occurs after the refinery completes construction. New code added to action_resource.cpp in stratagus 2.2.6 tries to show harvesting animation for a refinery. There is no definition for harvesting animations in unit-terran-refinery.lua. I don't know if there is a plan in the future for refinery's to harvest from the resource it is built on. If there is, then the unit definition lua file needs to have a definition for harvesting animations. In my patch, I commented out the offending code. I added a check in the commented code for a harvest animation sequence if there is a plan for refinery's to harvest from the resource they are built on.

Tags: patch
Revision history for this message
Neil Tan (emtneutrino) wrote :
Revision history for this message
Joris Dauphin (joris-dauphin) wrote :

action resource has been reworked.
Bug has been fixed.

Changed in stratagus:
status: New → Fix Released
Changed in stratagus:
milestone: none → 2.2.7
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.