-#include "../../common/command/command.qh"
+#include "radarmap.qh"
+#include <common/command/command.qh>
#include "radarmap.qh"
#include "../g_world.qh"
#include "../g_subs.qh"
-#include "../../common/util.qh"
+#include <common/util.qh>
-#include "../../lib/csqcmodel/sv_model.qh"
+#include <lib/csqcmodel/sv_model.qh>
// ===============================================
// Generates radar map images for use in the HUD
remove(radarmapper);
radarmapper = world;
}
-void RadarMap_Think()
+void RadarMap_Think(entity this)
{
- SELFPARAM();
// rough map entity
// cnt: current line
// size: pixel width/height
if (!radarmapper)
{
radarmapper = new(radarmapper);
- radarmapper.think = RadarMap_Think;
+ setthink(radarmapper, RadarMap_Think);
radarmapper.nextthink = time;
radarmapper.count = 8; // default to the --trace method, as it is faster now
radarmapper.ltime = 1;