mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-10 15:14:33 -04:00
Some changes
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
#include "Editor.h"
|
||||
#include "Collision.h"
|
||||
#include "Light.h"
|
||||
#include "Water.h"
|
||||
|
||||
#include "port/Engine.h"
|
||||
#include <controller/controldevice/controller/mapping/keyboard/KeyboardScancodes.h>
|
||||
@@ -118,11 +117,6 @@ namespace Editor {
|
||||
eGameObjects.push_back(new LightObject(name, pos, rot));
|
||||
}
|
||||
|
||||
WaterVolumeObject* Editor::AddWaterVolume(const char* name, FVector* pos) {
|
||||
eGameObjects.push_back(new WaterVolumeObject(name, pos));
|
||||
return reinterpret_cast<WaterVolumeObject*>(&eGameObjects.back());
|
||||
}
|
||||
|
||||
void Editor::ClearObjects() {
|
||||
for (auto& obj : eGameObjects) {
|
||||
delete obj;
|
||||
|
||||
Reference in New Issue
Block a user