View Issue Details

IDProjectCategoryView StatusLast Update
0000160Spring engineGeneralpublic2006-04-21 22:15
Reporterpatmo98 Assigned Totvo  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Summary0000160: Compile error when DIRECT_CONTROL_ALLOWED is not defined
DescriptionWhen DIRECT_CONTROL_ALLOWED is NOT defined, I get the following errors.

------ Build started: Project: rts, Configuration: Debug Win32 ------
Compiling...
BeamLaser.cpp
c:\src\spring-trunk\rts\sim\weapons\beamlaser.cpp(99) : error C2039: 'directControl' : is not a member of 'CUnit'
        c:\src\spring-trunk\rts\sim\units\unit.h(44) : see declaration of 'CUnit'
Cannon.cpp
c:\src\spring-trunk\rts\sim\weapons\cannon.cpp(190) : error C2039: 'directControl' : is not a member of 'CUnit'
        c:\src\spring-trunk\rts\sim\units\unit.h(44) : see declaration of 'CUnit'
LaserCannon.cpp
c:\src\spring-trunk\rts\sim\weapons\lasercannon.cpp(88) : error C2039: 'directControl' : is not a member of 'CUnit'
        c:\src\spring-trunk\rts\sim\units\unit.h(44) : see declaration of 'CUnit'

TagsNo tags attached.
Attached Files
directControl.patch (Attachment missing)
Checked infolog.txt for Errors

Activities

patmo98

2006-04-21 17:56

reporter   ~0000167

I think the included patch fixes it, but I'm not quite sure about these sections of the code and was hoping for comments.

tvo

2006-04-21 22:15

reporter   ~0000168

looks fine, committed

Issue History

Date Modified Username Field Change
2006-04-21 17:54 patmo98 New Issue
2006-04-21 17:56 patmo98 Note Added: 0000167
2006-04-21 17:56 patmo98 File Added: directControl.patch
2006-04-21 22:15 tvo Status new => assigned
2006-04-21 22:15 tvo Assigned To => tvo
2006-04-21 22:15 tvo Status assigned => resolved
2006-04-21 22:15 tvo Resolution open => fixed
2006-04-21 22:15 tvo Note Added: 0000168