This commit is contained in:
parent
4caddd162d
commit
45435136f8
10 changed files with 153 additions and 18 deletions
|
@ -54,10 +54,6 @@
|
|||
#include "hazard\hrweight.h"
|
||||
#endif
|
||||
|
||||
#ifndef __HAZARD_HRWHEEL_H__
|
||||
#include "hazard\hrwheel.h"
|
||||
#endif
|
||||
|
||||
#ifndef __HAZARD_HPSWITCH_H__
|
||||
#include "hazard\hpswitch.h"
|
||||
#endif
|
||||
|
@ -321,6 +317,7 @@ void CThingManager::matchWheelsAndWeights()
|
|||
if ( testPos.vx == wheelPos.vx && testPos.vy == wheelPos.vy )
|
||||
{
|
||||
wheel->linkToWeight( weight );
|
||||
weight->linkToWheel( wheel );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue